(update_menu_bar): Run activate-menu-bar-hook with
authorGerd Moellmann <gerd@gnu.org>
Mon, 19 Feb 2001 13:30:03 +0000 (13:30 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 19 Feb 2001 13:30:03 +0000 (13:30 +0000)
safe_run_hooks.

src/xdisp.c

index 3e5dc207c36cd5d05e3c35567007647fd4f1d810..e573069dcb194851950dbce6a71a4f4376e1bf29 100644 (file)
@@ -7033,7 +7033,7 @@ update_menu_bar (f, save_match_data)
            }
 
          /* Run the Lucid hook.  */
-         call1 (Vrun_hooks, Qactivate_menubar_hook);
+         safe_run_hooks (Qactivate_menubar_hook);
          
          /* If it has changed current-menubar from previous value,
             really recompute the menu-bar from the value.  */